﻿using GavinCMS.DAL;
using GavinCMS.Model.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GavinCMS.BLL
{
    public class PersonBLL
    {
        private readonly PersonDAL _dal = new PersonDAL();

        public IList<Person> GetPersons(int pageIndex, int pageSize, ref int count)
        {
            return _dal.GetPersons(pageIndex, pageSize,ref count);
        }
    }
}
